(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <math.h>
double sqrt()
SYNOPSIS
double val

FUNCTION
Compute the square root of val.

INPUTS
val
Must be >= 0.0.
RESULT
The square root of val.

NOTES
EXAMPLE
double s;
double val;

// calculate
s = sqrt (val);

if (s*s == val)
    printf ("%g is the square root of %g\n", s, val);
else
    printf ("Error: sqrt(%g) returned %g\n", val, s);

BUGS
SEE ALSO
pow()
INTERNALS
HISTORY
20.05.1997 aros
Added a couple of floating point math functions from fdlibm by Sun.